<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta name="keywords" content="个人中心,营圈网" />
		<meta name="description" content="个人中心，营圈网，一起来赢！" />
		<title>订单详情 - 营圈网</title>
		<#include "/common/head.html">
	</head>

	<body>
		<#include "/mine/header.html">
		<div class="regod-section clearfix">
			<!--位置-->
			<div class="thisPosition w">
				<span>您的位置：</span><b><a href="/user/index.html">首页</a></b> &gt; <b><a href="/order/list.html">我的订单</a></b> &gt; <b>订单详情</b>
			</div>
			<!--订单信息-->
			<div class="tradingStatus w clearfix">
				<div class="minFl fl">
					<h2>订单信息</h2>
					<ul>
						<li>订单编号：${(order.code)!""}</li>
						<li>订单金额：&yen;${((order.amountTotal)!0)?string('0.00')}</li>
						<li>下单时间：${(order.orderTime)?string("yyyy-MM-dd HH:mm:ss")}</li>
						<li>收&ensp;货&ensp;人：${(order.contacts)!""}<#if order.phone??>&ensp;（${(order.phone)!""}）</#if></li>
						<li>收货地址：${(order.shippingAddress)!""}</li>
						<li>配送方式：${(order.shippingTime)!""}&ensp;${(order.shippingMethod)!""}</li>
						<li>订单留言：${(order.remark)!""}</li>
					</ul>
				</div>
				<div class="minFr fr">
					<h2>订单状态: ${(order.statusName)!""}!</h2>
					<h3>您可以：</h3>
					<div class="max">
						<#import "/mine/order-status.html" as os>
						<@os.orderStatus status=order.status orderId=order.id />
					</div>
				</div>
			</div>
			<!--商品状态-->
			<div class="commodityStatus w">
				<ol class="dataTitle clearfix">
					<li class="fl one">商品</li>
					<li class="fl two">单价</li>
					<li class="fl three">数量</li>
					<li class="fl four">总价</li>
				</ol>
				<#if wares??>
				<#list wares as item>
				<ul class="centent clearfix">
					<li class="fl clearfix one">
						<div class="imgPart fl">
							<a href="/ware/${(item.wareId)!""}.html">
								<img src="${(item.imageMain)!""}" alt="${(item.wareName)!""}-营圈网"/>
							</a>
						</div>
						<a href="/ware/${(item.wareId)!""}.html">
							<div class="con fl">
								<p>${(item.wareName)!""}</p>
							</div>
						</a>
					</li>
					<li class="fl two"><#if item.pricePromotional??>&yen;${(item.pricePromotional)?string('0.00')}<#else>--</#if> </li>
					<li class="fl three">${(item.number)!0}</li>
					<li class="fl four"><#if item.amountTotal??>&yen;${(item.amountTotal)?string('0.00')}<#else>--</#if> </li>
				</ul>
				</#list>
				</#if>
			</div>
			<!--金额-->
			<div class="ordesTotal w">
				<p class="order"><span>订单总价：</span> <em>&yen;${((order.amountTotal)!0)?string('0.00')}</em></p>
				<p class="actual"><span>实际支付：</span> <em><#if item.amountPay??>&yen;${(item.amountPay)?string('0.00')}<#else>--</#if></em></p>
			</div>
			
			<!-- 修改订单状态弹出层 -->
				<div class="mordrMain userSer-content-wrap" style="width:550px;display: none;padding-left:25px;" id="modifyStatusBtn">
			    	<input id="orderId" type="hidden" />
			    	<input id="op" type="hidden" />
			    	<input id="nextStatus" type="hidden" />
					<ul class="content-form-main">
						<li class="form-main clearfix" name="confirmLi" style="display:none;">
					    	<img src="http://static.yqw.com/imgs/error_72px.png" class="fl tip-confim-img" ></img>
			    			<span class="tip-confim-text" style="line-height:110px;">操作失败，请重试或联系管理员！</span>
					    </li>
						<li class="form-main clearfix" name="remarkerLi" style="display:none;">
							<span class="fl">备注：</span>
							<textarea class="fl" name="address" id="address" style="width: 350px; height:  200px;"></textarea>
						</li>
						<li class="form-main clearfix">
							<span class="fl"></span>
							<input type="button" value="保存" class="submit" id="addAddrBtn">
							<input type="button" value="关闭" class="submit" id="closeBtn">
						</li>
					</ul>
				</div>
		
		<!--尾部-->
		<#include "/common/footer.html">
		<script type="text/javascript" src="http://static.yqw.com/js/biz/order-content.js"></script>
	</body>

</html>